package com.aizhixin.lab.project.template.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ModuleTaskFileDomain {
    @ApiModelProperty(value = "文件ID")
    private String id;
    @ApiModelProperty(value = "任务id")
    private String taskId;
    @ApiModelProperty(value = "文件名")
    private String fileName;
    @ApiModelProperty(value = "文件类型")
    private Integer fileType;
    @ApiModelProperty(value = "文件路径")
    private String fileUrl;
    @ApiModelProperty("")
    private String fileFirstImg;
    @ApiModelProperty(value = "是否隐藏文件")
    private Boolean isHide=false;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected Date createdDate;
}
